
package sg.edu.nus.iss.cats.dataaccess;

import sg.edu.nus.iss.cats.model.*;


public interface UserDAO {
    public User findUser (String userId) throws DAOException;

    public User[] findAllUsers () throws DAOException;

    public void insertUser (User user) throws DAOException;

    public void updateUser (User user) throws DAOUpdateException;

    public void deleteUser (User user) throws DAOException;

    public Role[] findAllRoles () throws DAOException;

    public Role findRole (String roleId) throws DAOException;
        
    public User[] findAllManagers () throws DAOException;
}